#{extends 'main.html' /}
#{set title:'Home' /}

Atualizar Bairro

<form action="@{Neighborhoods.doUpdate()}" method="POST">

	<div>
		<label for="neighborhood.name">Name</label><br/>
		<input type="text" name="neighborhood.name" value="${neighborhood.name}"/><br/>
		<span class="error">#{error 'neighborhood.name' /}</span>
	</div>
	
	<input type="hidden" name="neighborhood.id" value="${neighborhood.id}"/><br/>

	<input type="submit" name="submit" value="Update" />

</form>